package com.ruibang.glass.produce.mapper;

import com.ruibang.glass.produce.entity.MonitorPoint;
import com.ruibang.glass.produce.entity.TypeUnit;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-11-15  20:32
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface UnitMapper extends CommonMapper<TypeUnit> {

    List<MonitorPoint> monitorByUnitId(Map<String, String> map);

    void updateUnit(Map<String, Object> map);

}
